package com.san.hkhospital.service;

import com.san.hkhospital.entity.RoleExample;
import java.util.List;
import com.san.hkhospital.entity.Role;
    /**
 * ClassName:RoleService
 * PackageName:com.san.hkhospital.service
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 14:38
 * 
 */
 
 
public interface RoleService{


    long countByExample(RoleExample example);

    int deleteByExample(RoleExample example);

    int deleteByPrimaryKey(Integer roleId);

    int insert(Role record);

    int insertSelective(Role record);

    List<Role> selectByExample(RoleExample example);

    Role selectByPrimaryKey(Integer roleId);

    int updateByExampleSelective(Role record,RoleExample example);

    int updateByExample(Role record,RoleExample example);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

}
